package org.springframe.annotation;

import org.springframe.constants.ScopeConstants;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* @package  org.springframe.annotation
* @classname Component
* @description beanDefinition 定义注解
* @version 1.0
* @author luoweiwei
* @date  2021-04-23 15:02:16
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Component {

    String value() default "";

    String scope() default ScopeConstants.SCOPE_SINGLETION;
}
